package com.site.service.impl;

import com.site.service.ServerAsync;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;


@Slf4j
@Service
public class ServerAsyncImpl implements ServerAsync {

    @Async
    public void async(){
      log.info("This,{}",Thread.currentThread().getName());
    }
}
